﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pending_Candidate.aspx.cs"
    Inherits="CTEA_INDIA.Pending_Candidate" Theme="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<%@ Register Src="~/MenuList.ascx" TagName="Menu" TagPrefix="m1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Candidates</title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
    <link type="text/css" href="CSS/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            // Tabs
            $('#tabs').tabs({ selected: 0 });
            $('#tabs').bind('tabsshow', function (event, ui) {
                var tabSelected = "#tab" + ui.index + "Selected";
                $(tabSelected).html("isClicked");
            });

            $('#menu_LinkButton2').css({ color: '#DBA615' });
            //hover states on the static widgets
            $('#dialog_link, ul#icons li').hover(
					function () { $(this).addClass('ui-state-hover'); },
					function () { $(this).removeClass('ui-state-hover'); }
				);
        });
    </script>
    <script type="text/javascript">
        function checkAll(objRef) {
            var GridView = objRef.parentNode.parentNode.parentNode;
            var inputList = GridView.getElementsByTagName("input");
            for (var i = 0; i < inputList.length; i++) {
                //Get the Cell To find out ColumnIndex 
                var row = inputList[i].parentNode.parentNode;
                if (inputList[i].type == "checkbox" && objRef != inputList[i]) {
                    if (objRef.checked) {
                        //If the header checkbox is checked 
                        //check all checkboxes 
                        //and highlight all rows 
                        row.style.backgroundColor = "aqua";
                        inputList[i].checked = true;
                    }
                    else {
                        //If the header checkbox is checked 
                        //uncheck all checkboxes 
                        //and change rowcolor back to original  
                        if (row.rowIndex % 2 == 0) {
                            //Alternating Row Color 
                            row.style.backgroundColor = "#C2D69B";
                        }
                        else {
                            row.style.backgroundColor = "white";
                        }
                        inputList[i].checked = false;
                    }
                }
            }
        } 
    </script>
    <style type="text/css">
        .style1
        {
            height: 27px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
    <div>
        <center>
            <div>
                <table border="0">
                    <tr>
                        <td valign="top" align="center">
                            <table class="MainDiv" width="900px">
                                <tr>
                                    <td valign="top">
                                        <m1:Menu runat="server" ID="menu" />
                                    </td>
                                    <td valign="top" align="left">
                                        <table cellpadding="0px" cellspacing="0px" border="0" style="border: 1px; border-color: #ffff"
                                            width="600px">
                                            <tr>
                                                <td colspan="2">
                                                    <asp:Label ID="Label1" runat="server" Text="Candidates" CssClass="headingpage"></asp:Label>
                                                    <div class="imgstrip">
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div id="tabs">
                                                        <ul>
                                                            <li><a href="#tabs-0">Pending Candidates</a></li>
                                                            <li><a href="#tabs-1">View All Candidates</a></li>
                                                        </ul>
                                                        <div id="tabs-0" style="overflow: auto;">
                                                            <input type="hidden" id="tab0Selected" />
                                                            <div id="Div2" style="text-align: left;">
                                                                <table>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:GridView ID="grdPendingCandidate" runat="server" AutoGenerateColumns="False"
                                                                                CellPadding="3" DataKeyNames="EmailId" EmptyDataText="No Pending Member Request"
                                                                                BackColor="White" BorderColor="#999999" BorderWidth="0px" BorderStyle="Solid"
                                                                                Height="90px" Style="margin-left: 0px" RowStyle-HorizontalAlign="Center" Width="580"
                                                                                ForeColor="Black" GridLines="None">
                                                                                <Columns>
                                                                                    <asp:BoundField DataField="candidateId" HeaderText="ID"  SortExpression="candidateId">
                                                                                        <ItemStyle HorizontalAlign="left" Width="50px" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                                                                                    <asp:BoundField DataField="Apply_For" HeaderText="Apply For" SortExpression="companyname">
                                                                                        <ItemStyle Width="150px" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="MobileNo" HeaderText="Mobile No." SortExpression="MobileNo" />
                                                                                    <asp:BoundField DataField="Location" HeaderText="Location" SortExpression="Location" />
                                                                                    <asp:BoundField DataField="Gender" HeaderText="Gender" />
                                                                                    <asp:TemplateField HeaderText="Select to Approve">
                                                                                        <HeaderTemplate>
                                                                                            <asp:CheckBox runat="server" ID="HeaderLevelCheckbox" OnClick="checkAll(this);" /></HeaderTemplate>
                                                                                        <ItemTemplate>
                                                                                            <asp:CheckBox ID="chkApprove" runat="server" /></ItemTemplate>
                                                                                        <ItemStyle HorizontalAlign="Center" Width="20px" />
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                                <EmptyDataRowStyle CssClass="errorSpan" Font-Bold="True" Font-Size="15pt" ForeColor="Red" />
                                                                                <FooterStyle BackColor="#CCCC99" />
                                                                                <HeaderStyle BackColor="#021D48" Font-Bold="True" ForeColor="white" />
                                                                                <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="Center" BackColor="#843808" />
                                                                                <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                                <AlternatingRowStyle BackColor="#edf7fa" />
                                                                            </asp:GridView>
                                                                            <br />
                                                                            <table border="0" width="500">
                                                                                <tr>
                                                                                    <td align="right">
                                                                                        <asp:Button ID="btnapprv" runat="server" CssClass="btnsubmit" Text="Approve" OnClick="btnapprv_Click" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </div>
                                                        <div id="tabs-1" style="text-align: left; overflow: auto;">
                                                            <input type="hidden" id="tab1Selected" />
                                                            <div id="Div1" style="text-align: left;">
                                                                <table>
                                                                    <tr>
                                                                        <td valign="top">
                                                                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnlCandidate">
                                                                                <ProgressTemplate>
                                                                                    <center>
                                                                                        <div id="pageLoading">
                                                                                            <center>
                                                                                                <img src="Images/loading123.gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                                                                                    alt="loading" />
                                                                                                <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                                                                                    Loading...
                                                                                                </div>
                                                                                            </center>
                                                                                            <div id="transparentBg" class="transparentBg">
                                                                                            </div>
                                                                                        </div>
                                                                                    </center>
                                                                                </ProgressTemplate>
                                                                            </asp:UpdateProgress>
                                                                            <asp:UpdatePanel ID="upPnlCandidate" runat="server">
                                                                                <ContentTemplate>
                                                                                    <table border="0" width="100%">
                                                                                        <tr>
                                                                                            <td class="myaccount">
                                                                                                <asp:Label ID="Label2" runat="server" Text="All Candidate" CssClass="headingpage"></asp:Label><br />
                                                                                                <div class="imgstrip">
                                                                                                </div>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td height="50px">
                                                                                                <div style="float: left">
                                                                                                    <asp:DropDownList ID="ddlLocation" SkinID="ddlSmallNew" runat="server" Enabled="false" OnSelectedIndexChanged="ddlLocation_SelectedIndexChanged"
                                                                                                        AutoPostBack="true">
                                                                                                    </asp:DropDownList>
                                                                                                </div>
                                                                                                <asp:Label ID="Label3" runat="server" Text="Search:" CssClass="Label"></asp:Label>
                                                                                                <asp:DropDownList ID="ddlSearchApplyFor" SkinID="ddlVerySmallNew"  runat="server" AutoPostBack="true"
                                                                                                    EnableViewState="true" OnSelectedIndexChanged="ddlSearchApplyFor_SelectedIndexChanged">
                                                                                                    <asp:ListItem Text="View all" Value="0" Selected="True"></asp:ListItem>
                                                                                                    <asp:ListItem Text="Acting" Value="Acting">
                                                                                                    </asp:ListItem>
                                                                                                    <asp:ListItem Text="Dancing" Value="Dancing"></asp:ListItem>
                                                                                                </asp:DropDownList>
                                                                                                <asp:TextBox ID="txtName" SkinID="x-bigboxNew"  runat="server" AutoPostBack="True"></asp:TextBox>
                                                                                                <asp:TextBoxWatermarkExtender ID="txtName_TextBoxWatermarkExtender" WatermarkText="Enter Name to Search"
                                                                                                    WatermarkCssClass="Watermarktxt" runat="server" TargetControlID="txtName">
                                                                                                </asp:TextBoxWatermarkExtender>
                                                                                                <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="btnsubmit" OnClick="btnSearch_Click2" />
                                                                                                <br />
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td valign="top" width="500px" align="center">
                                                                                                <asp:GridView ID="gdCandidateProfile" runat="server" BackColor="White" Width="100%"
                                                                                                    BorderColor="#DEDFDE" DataKeyNames="candidateId" BorderStyle="None" BorderWidth="1px"
                                                                                                    CellPadding="4" ForeColor="Black" GridLines="Vertical" AllowPaging="True" AutoGenerateColumns="False"
                                                                                                    OnRowDataBound="gdCandidateProfile_RowDataBound" EmptyDataText="No data found."
                                                                                                    OnPageIndexChanging="gdCandidateProfile_PageIndexChanging">
                                                                                                    <AlternatingRowStyle BackColor="White" />
                                                                                                    <Columns>
                                                                                                        <asp:BoundField HeaderText="Name" DataField="Name" ItemStyle-Width="120px">
                                                                                                            <ItemStyle Width="200px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="EmailId" DataField="EmailId" ItemStyle-Width="200">
                                                                                                            <ItemStyle Width="200px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="Location" DataField="location" ItemStyle-Width="80">
                                                                                                            <ItemStyle Width="80px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="Apply For" DataField="Apply_For" ItemStyle-Width="80">
                                                                                                            <ItemStyle Width="120px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="abc" DataField="MobileNo" Visible="false"></asp:BoundField>
                                                                                                        <asp:BoundField DataField="MobileNo" Visible="false" />
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton ID="lnkView" runat="server" Text="View" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                    OnClick="lnkView_Click2" CausesValidation="false"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                    OnClick="lnkEdit_Click2" CausesValidation="false"></asp:LinkButton>
                                                                                                                <asp:LinkButton ID="lnkHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton ID="lnkDelete" OnClick="lnkDelete_Click2" runat="server" Text="Delete"
                                                                                                                    ForeColor="#0066FF" ItemStyle-Width="10"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                    </Columns>
                                                                                                    <EmptyDataRowStyle CssClass="errorSpan" Font-Bold="True" Font-Size="15pt" ForeColor="Red" />
                                                                                                    <FooterStyle BackColor="#CCCC99" />
                                                                                                    <HeaderStyle BackColor="#021D48" Font-Bold="True" ForeColor="white" />
                                                                                                    <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="right" BackColor="#843808" />
                                                                                                    <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                                                    <AlternatingRowStyle BackColor="#edf7fa" />
                                                                                                </asp:GridView>
                                                                                                <asp:Button ID="btnHiddenPerson" runat="Server" Style="display: none" />
                                                                                                <asp:ModalPopupExtender ID="lnkView_ModalPopupExtender" runat="server" TargetControlID="btnHiddenPerson"
                                                                                                    CancelControlID="cancelBtnView" PopupControlID="pnlLnkView" BackgroundCssClass="modalBackground">
                                                                                                </asp:ModalPopupExtender>
                                                                                                <asp:Panel ID="pnlLnkView" runat="server">
                                                                                                    <table width="600px" class="ModalPopup" border="0" cellpadding="3" cellspacing="2"
                                                                                                        style="margin-left: 50px">
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <div style="float: right">
                                                                                                                    <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnView" /></div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4" class="gdheading">
                                                                                                                Candidate's Detail
                                                                                                                <hr />
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Name:
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <%-- <%#Eval("Name")%>--%>
                                                                                                                <asp:Label ID="lblName" runat="server"></asp:Label>
                                                                                                            </td>
                                                                                                            <%--   <td rowspan="2" colspan="2" align="right">
                                                                                            <img src="ProfilePhoto/<%#Eval("ProfPic")%>" alt="<%#Eval("ProfPic")%>" width="80"
                                                                                                height="80" style="padding: 2px; border: 1px solid #CCCCCC" />
                                                                                        </td>--%>
                                                                                                        </tr>
                                                                                                        <tr id="trAdd" runat="server">
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Address:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--   <%#Eval("Address")%>--%>
                                                                                                                <asp:Label ID="lblAddress" runat="server"></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr id="trMobEmail" runat="server">
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Mobile No.:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--<%#Eval("MobileNo")%>--%>
                                                                                                                <asp:Label ID="lblMobileNo" runat="server"></asp:Label>
                                                                                                            </td>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                EmailId:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <asp:Label ID="lblEmailId" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Age:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--  <%#Eval("Age")%>--%>
                                                                                                                <asp:Label ID="lblAge" runat="server"></asp:Label>
                                                                                                            </td>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Gender:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <asp:Label ID="lblGender" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Education:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <asp:Label ID="lblEducation" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Apply for:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <asp:Label ID="lblApply_For" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr id="trLocQua" runat="server">
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Location:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <asp:Label ID="lblLocation" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Qualification:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%-- <%#Eval("Qualification")%>--%>
                                                                                                                <asp:Label ID="lblQualify" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr id="trGnmLoc" runat="server">
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Guardian Name:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--  <%#Eval("Guardian_Name")%>--%>
                                                                                                                <asp:Label ID="lblGuardianName" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Guardian Location:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--<%#Eval("Guardian_Location")%>--%>
                                                                                                                <asp:Label ID="lblGuardianLoc" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr id="trGcoRel" runat="server">
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Guardian ContactNo:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--<%#Eval("Guardian_ContactNo")%>--%>
                                                                                                                <asp:Label ID="lblGuardian_Contno" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Relationship:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <asp:Label ID="lblRelationShip" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Approach Through:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--<%#Eval("HowKnow_Ctea")%>--%>
                                                                                                                <asp:Label ID="lblApprochThru" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Occupation:
                                                                                                            </td>
                                                                                                            <td class="modalCandidate">
                                                                                                                <%--   <%#Eval("Occupation")%>--%>
                                                                                                                <asp:Label ID="lblOccupa" runat="server" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </asp:Panel>
                                                                                                <asp:Button ID="btnHiddenPerson1" runat="Server" Style="display: none" />
                                                                                                <asp:ModalPopupExtender ID="lnkEdit_ModalPopupExtender" runat="server" TargetControlID="btnHiddenPerson1"
                                                                                                    CancelControlID="cancelBtnEdit" PopupControlID="pnlLnkEdit" BackgroundCssClass="modalBackground">
                                                                                                </asp:ModalPopupExtender>
                                                                                                <asp:Panel ID="pnlLnkEdit" runat="server">
                                                                                                    <table width="600px" class="ModalPopup">
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <div style="float: right">
                                                                                                                    <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnEdit" /></div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4" class="gdheading">
                                                                                                                Update Candidate's Detail
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4" class="style1">
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Name:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtNamee" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                Address:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtAdd" runat="server" TextMode="MultiLine" Rows="3" Columns="20"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Mobile No.:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtMob" MaxLength="10" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                EmailId:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEmail" runat="server" Enabled="false"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Date Of Birth:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtDob" runat="server"></asp:TextBox>
                                                                                                                <asp:CalendarExtender ID="ceDate" runat="server" TargetControlID="txtDob" DefaultView="Years">
                                                                                                                </asp:CalendarExtender>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                Gender:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:RadioButtonList ID="rdGender" runat="server" RepeatDirection="Horizontal">
                                                                                                                    <asp:ListItem Value="Male" Selected="True" Text="Male"></asp:ListItem>
                                                                                                                    <asp:ListItem Value="Female" Text="Female"></asp:ListItem>
                                                                                                                </asp:RadioButtonList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Education:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtEducation" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                Apply For
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:DropDownList ID="ddlApplyFor" runat="server" Width="100px">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Qualification:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtQuali" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                Location:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtLocation" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Guardian Name:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtGuaName" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                Guardian Location:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtGuaLoc" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Guardian ContactNo:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtGuaCno" runat="server" MaxLength="15"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                Occupation:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtOccup" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader">
                                                                                                                Relationship:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <asp:TextBox ID="txtGuaRela" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                            <td class="tdheader">
                                                                                                                Profile Pic:
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <%-- <edititemtemplate>--%>
                                                                                                                <asp:FileUpload ID="fuPic" runat="server" /><%--</edititemtemplate>--%>
                                                                                                                <br />
                                                                                                                <asp:Label ID="lblPathName" runat="server" ForeColor="Green" Text=""></asp:Label>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4" align="center">
                                                                                                                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                                                                    <ContentTemplate>
                                                                                                                        <asp:Button ID="btnUpdate" runat="server" CssClass="btnsubmit" Text="Update" Height="26px"
                                                                                                                            OnClick="btnUpdate_Click2" />
                                                                                                                    </ContentTemplate>
                                                                                                                    <Triggers>
                                                                                                                        <asp:PostBackTrigger ControlID="btnUpdate" />
                                                                                                                    </Triggers>
                                                                                                                </asp:UpdatePanel>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </ContentTemplate>
                                                                            </asp:UpdatePanel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </center>
    </div>
    </form>
</body>
</html>
